Activités (Activities)
Plus récente (Latest)
False
Image de fond de la bannière
Activités UIAutomation
Dernière mise à jour 3 avr. 2024

SetDeviceOrientation

Modifie et récupère l'orientation de l'appareil connecté.

Définition

Espace de noms: UiPath.MobileAutomation.API.Models

Assembly: UiPath.MobileAutomation.API (dans UiPath.MobileAutomation.API.dll)

SetDeviceOrientation(DeviceOrientationEnumC, MobileOptions.SetDeviceOrientationOptions)

ScreenOrientation SetDeviceOrientation(
	    DeviceOrientationEnumC screenOrientationCommand,
	    MobileOptions. SetDeviceOrientationOptions options = null
)ScreenOrientation SetDeviceOrientation(
	    DeviceOrientationEnumC screenOrientationCommand,
	    MobileOptions. SetDeviceOrientationOptions options = null
)
screenOrientationCommand DeviceOrientationEnumC
Spécifie la commande permettant de définir l'orientation de l'écran. Les options suivantes sont disponibles :
  • Portrait
  • Landscape
  • Toggle
options MobileOptions.SetDeviceOrientationOptions
Spécifie le MobileOptions.SetDeviceOrientationOptions pour l'action SetDeviceOrientation . La valeur par défaut est null.

RetournerValeur

ScreenOrientation

Renvoie la nouvelleorientation de l'appareil.

Cette page vous a-t-elle été utile ?

Obtenez l'aide dont vous avez besoin
Formation RPA - Cours d'automatisation
Forum de la communauté UiPath
Logo Uipath blanc
Confiance et sécurité
© 2005-2024 UiPath. All rights reserved.